package com.zn.mapper;

import com.zn.entity.OptionTradingContract;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface OptionTradingContractMapper {
    int insertSelective(OptionTradingContract record);
    OptionTradingContract selectByGoodsIdAndMonth(@Param("tradingGoodsId")String tradingGoodsId,@Param("contractMonthName")String contractMonthName);
    int setIsTradingDisabled();
    int updateByPrimaryKeySelective(OptionTradingContract record);
    OptionTradingContract selectLastByGoodsId(@Param("tradingGoodsId")String tradingGoodsId);

}